package com.xiaoxx.service.impl;

import com.xiaoxx.mapper.SysRoleUserMapper;
import com.xiaoxx.model.entity.sys.SysRoleUser;
import com.xiaoxx.service.SysRoleUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * base--sys--角色/用户关联 服务实现类
 * </p>
 *
 * @author HX
 * @since 2023-07-27
 */
@Service
public class SysRoleUserServiceImpl extends ServiceImpl<SysRoleUserMapper, SysRoleUser> implements SysRoleUserService {

    @Override
    public List<String> findCurrentMenuIds(String userId) {
        List<String> menuIds= baseMapper.findCurrentMenuIds(userId);
        return  menuIds;
    }
}
